<%--
  Created by IntelliJ IDEA.
  User: Lamb
  Date: 2021/12/3
  Time: 12:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>SingleTeacher</title>
    <style>
        .teacher{
            width: 50%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            margin: 0 auto;
        }
        .teacher img{
            width: 200px;
            height: auto;
        }
        .teacher p{
            font-size: 2rem;
        }
    </style>
</head>
<body>
<div class="header">
    <%@include file="WEB-INF/views/header.jsp" %>
</div>
<div class="teacher">
    <img src="${requestScope.teacher.get().getImgUrl()}" alt="">
    <h1>${requestScope.teacher.get().getName()}</h1>
    <p>${requestScope.teacher.get().getIntro()}</p>
</div>
</body>
</html>
